<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>签到表</title>
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/metro/easyui.css">
    <link rel="stylesheet" href="/static/js/plugins/jquery-easyui/themes/icon.css">
    <script src="/static/js/plugins/jquery-easyui/jquery.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="/static/js/plugins/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/system/signin.js"></script>

</head>
<body>
<table id="signin_datagrid"></table>
<%--为数据表格添加顶部按钮组件--%>
<%--为按钮绑定方法--%>
<div id="tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="save()">签到</a>
    <shiro:hasPermission name="signin:delete">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="removing()">删除</a>
    </shiro:hasPermission>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="edit()">签退</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="reload()">刷新</a>

    <%--高级查询的输入框--%>
    <input class="easyui-textbox" type="text" id="keywords" name="keywords" prompt="请输入姓名">
    时间:<input class="easyui-datebox" type="text" id="beginDate" name="beginDate">~
    <input class="easyui-datebox" type="text" id="endDate" name="endDate">
    <!--添加一个高级查询按钮-->
    部门:<input class="easyui-combobox" type="text" name="deptId" id="deptId"
           data-options="url:'/department/queryDepts',valueField:'id', textField:'name', panelHeight:'auto'">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" onclick="query()">查询</a>
</div>
</body>
</html>
